<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<% System.out.println("跳转到login.jsp"); %>
	<%--
	<h1>GET 请求</h1>
	<a href="loginobj?stname=gianxi&age=19">链接跳</a>
	
	<form action="loginobj" method="post">
		Name:<input type="text" name="stname" /><br>
		Age:<input type="text" name="age" /><br>
		Address:<input type="text" name="address.addr" /><br>
		Phone:<input type="text" name="address.phone" /><br>
		<input type="submit" value="登录" />
	</form>
	 
	<h1>集合参数绑定</h1>
	<form action="loginobj" method="post">
		Name:<input type="text" name="stname" /><br>
		Age:<input type="text" name="age" /><br>
		List1:<input type="text" name="list[0]" /><br>
		List2:<input type="text" name="list[1]" /><br>
		
		Map1地址:<input type="text" name="map['one'].addr" /><br>
		Map1手机:<input type="text" name="map['one'].phone" /><br>
		Map2地址:<input type="text" name="map['two'].addr" /><br>
		Map2手机:<input type="text" name="map['two'].phone" /><br>
		<input type="submit" value="登录" />
	</form>
	
	<h1>日期数据绑定</h1>
	<form action="loginDate" method="post">
		addr:<input type="text" name="addr" /><br>
		phone:<input type="text" name="phone" /><br>
		otime:<input type="text" name="otime" /><br>
		<input type="submit" value="登录" />
	</form>
	 
	<h1>控制器数据传输</h1>
	<form action="sendData2" method="post">
		<input type="submit" value="登录" />
	</form>
	--%>
	<h1>原来serlvet样式测试</h1>
	<form action="oldservlet" method="post">
		addr:<input type="text" name="addr" /><br>
		phone:<input type="text" name="phone" /><br>
		otime:<input type="text" name="otime" /><br>
		<input type="submit" value="登录" />
	</form>
	
</body>
</html>